package com.example.springboot01.el;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * @author keyer
 * @Description : 需要被注入的bean
 * Created by cyd on 2021-04-30 15:20:59
 */
@Service
@Data
public class DemoService {
    @Value("其他类的属性")
    private String anOther;
}
